import json

def a(*aa):
    sum = 0
    for i in aa:
        print(i)
        sum+=i
    print(sum)
    return sum
if __name__ == '__main__':
    aa = [1,2,3,4,55]
    a(*aa)